#ifndef MENUITEM_H
#define MENUITEM_H

#include <string>
#include "Constants.h"

using namespace std;

class MenuItem {
public:

	MenuItem(string menuGroup, int width, int height, float top, float left, int zIndex, string text, void (*onClick)(MenuItem*));
	~MenuItem();

	void SetShowing(bool showing);
	void SetColor(D3DXCOLOR color);

	void (*onClick)(MenuItem*);

	int width, height, zIndex;
	float top, left;
	string text, menuGroup;
	bool showing;
	VERTEX Quad[4];

private:

	void FillQuad(void);

};

#endif